package com.atm.bulksms.data;

public class SMSSchedule {
	private String message;
	private String numbers;
	private long time;
	public SMSSchedule(String message, String numbers, long time) {
		this.message = message;
		this.numbers = numbers;
		this.time = time;
	}
	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	/**
	 * @return the numbers
	 */
	public String getNumbers() {
		return numbers;
	}
	/**
	 * @param numbers the numbers to set
	 */
	public void setNumbers(String numbers) {
		this.numbers = numbers;
	}
	/**
	 * @return the time
	 */
	public long getTime() {
		return time;
	}
	/**
	 * @param time the time to set
	 */
	public void setTime(long time) {
		this.time = time;
	}
	
	public String[] getNumberList(){
		String nos = numbers;
		String[] arr = nos.split(",");
		for (int i = 0; i < arr.length; i++) {
			System.out.println(i+"="+arr[i]);
		}
		return arr;
	}
	
}
